package com.xxx.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xxx.enums.StatusEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

 /**
 * 订阅表;
 * @author : http://www.chiner.pro
 * @date : 2024-11-9
 */
 @Data
 @AllArgsConstructor
 @NoArgsConstructor
public class Subscribe implements Serializable,Cloneable{
    /** id */
    @TableId(type = IdType.AUTO)
    private Long id ;
    /** 邮箱 */
    private String email ;
    /** 0禁用 1启用 */
    private StatusEnum status ;
    /** 0否 1是 */
    @TableLogic
    private Integer deleted ;
    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime ;

}